package base.BeD.Fifth;

import java.util.Arrays;

public class SimpleEnumUse {
	public static void main(String[] args) {
		Spiciness spiciness = Spiciness.MEDIUM;
		System.out.println(spiciness);
		
		System.out.println(Arrays.toString(Spiciness.values()));
		System.out.println(spiciness.toString());
		
		for(Spiciness tpiciness : Spiciness.values()){
			System.out.println(tpiciness.toString());
			System.out.println(tpiciness.ordinal());
		}
		if(Spiciness.MEDIUM.equals("MEDIUM")){
			System.out.println("3424");
		}
	}
}
